@extends('layouts.app')
@section('title','充值会员订单')
@section('content')

<!-- start: Content -->
<div class="row-fluid">
	<div class="box span12">
		<div class="box-header">
			<h2><i class="icon-edit"></i>充值会员订单</h2>
		</div>
		<div class="box-content">
			<table class="table table-hover">
			<thead>
			  	<tr>
				  	<th style='width:2%;'>
						<!-- <input id="mychk" type="checkbox" name="id[]" value=""> -->
				  	</th>
					<th style='width:2%;'>序号</th>
					<th style='width:3%;'>会员名称</th>
					<th style='width:4%'>充值时间</th>
					<th style='width:3%;'>单价（元）</th>
					<th style='width:3%;'>数量</th>
					<th style='width:8%;'>手机号</th>
					<th style='width:8%;'>实收款（元）</th>
					<th style='width:8%;'>交易状态</th>
			  	</tr>
			</thead>   
			<tbody>
				@foreach($user as $ov)
					<tr>
						<td>
							<input type="checkbox" name='id[]' id="inlineCheckbox3" value="{{ $ov->id }}">
						</td>
						<td>{{ $ov->id }}</td>
						<td>{{ $ov->name }}</td>
						<td>{{ $ov->created_at }}</td>
						<td>{{ $ov->price }}.00</td>
						<td>{{ $ov->num }}</td>
						<td>{{ $ov->phone }}</td>
						<td>{{ $ov->price }}.00</td>
						<td>
							@if($ov->status == 1)
								<span style='color:red'>已支付</span>
							@else
								<span style='color:grey'>未支付</span>
							@endif
						</td>
					</tr>
				@endforeach
			</tbody>
		</div>
	</div><!--/span-->
</div><!--/row-->

@stop
